const Router = require('koa-router')
const { editInfo } = require('./controller/user')

// 路由前缀- /users/路由名
const router = new Router({ prefix: '/users' })

// POST /users/
// 资料编辑接口
router.post('/edit', editInfo);

module.exports = router